export default {
  enableDirtyChecking: true,
  showDataInfoBar: true,
  xdataControlName: 'form',
  loadDefault: true,
  deviewCodeName: 'editform_mdctrl_form',
  deviewId: '74be22393b35605881b3f6440c935fa5',
  appWFId: 'workflow',
  accUserMode: 3,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '编辑表单_多数据部件-表单',
  codeName: 'master_editform_mdctrl_form',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'EditView',
      id: 'engine',
    },
  ],
  appViewParams: [
    {
      key: 'SRFRENEWSESSION',
      value: 'true',
      name: 'SRFRENEWSESSION',
      id: 'srfrenewsession',
    },
  ],
  controls: [
    {
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.master',
        id: 'create',
      },
      getDraftFromControlAction: {
        appDataEntityId: 'web.master',
        id: 'loaddraftfrom',
      },
      getDraftControlAction: {
        appDEMethodId: 'get_draft',
        appDataEntityId: 'web.master',
        id: 'loaddraft',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.master',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.master',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.master',
        id: 'update',
      },
      wfstartControlAction: {
        appDEMethodId: 'wfstart',
        appDataEntityId: 'web.master',
        id: 'wfstart',
      },
      wfsubmitControlAction: {
        appDEMethodId: 'wfsubmit',
        appDataEntityId: 'web.master',
        id: 'wfsubmit',
      },
      deformPages: [
        {
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          deformDetails: [
            {
              buildInActions: 7,
              contentControl: {
                createControlAction: {
                  appDEMethodId: 'create',
                  appDataEntityId: 'web.detail',
                  id: 'create',
                },
                getDraftFromControlAction: {
                  appDataEntityId: 'web.detail',
                  id: 'loaddraftfrom',
                },
                getDraftControlAction: {
                  appDEMethodId: 'get_draft',
                  appDataEntityId: 'web.detail',
                  id: 'loaddraft',
                },
                getControlAction: {
                  appDEMethodId: 'get',
                  appDataEntityId: 'web.detail',
                  id: 'load',
                },
                removeControlAction: {
                  appDEMethodId: 'remove',
                  appDataEntityId: 'web.detail',
                  id: 'remove',
                },
                updateControlAction: {
                  appDEMethodId: 'update',
                  appDataEntityId: 'web.detail',
                  id: 'update',
                },
                wfstartControlAction: {
                  appDataEntityId: 'web.detail',
                  name: 'WFSTART',
                  id: 'wfstart',
                },
                wfsubmitControlAction: {
                  appDataEntityId: 'web.detail',
                  name: 'WFSUBMIT',
                  id: 'wfsubmit',
                },
                deformItemUpdates: [
                  {
                    codeName: 'messages',
                    scriptCode: 'util.message.info("data")',
                    customCode: true,
                    showBusyIndicator: true,
                    name: '提示信息',
                    id: 'messages',
                  },
                ],
                deformPages: [
                  {
                    layout: {
                      columnCount: 24,
                      layout: 'TABLE_24COL',
                    },
                    deformDetails: [
                      {
                        layout: {
                          columnCount: 24,
                          layout: 'TABLE_24COL',
                        },
                        deformDetails: [
                          {
                            layout: {
                              columnCount: 24,
                              layout: 'TABLE_24COL',
                            },
                            deformDetails: [
                              {
                                dataType: 25,
                                enableCond: 3,
                                labelPos: 'LEFT',
                                labelWidth: 130,
                                noPrivDisplayMode: 1,
                                appDEFieldId: 'name',
                                editor: {
                                  maxLength: 200,
                                  editorType: 'TEXTBOX',
                                  valueType: 'SIMPLE',
                                  editable: true,
                                  id: 'name',
                                },
                                allowEmpty: true,
                                capLanguageRes: {
                                  lanResTag: 'DEF.LNAME.DETAIL.NAME',
                                },
                                caption: '项名称',
                                codeName: 'name',
                                detailStyle: 'DEFAULT',
                                detailType: 'FORMITEM',
                                layoutPos: {
                                  colMD: 24,
                                  layout: 'TABLE_24COL',
                                },
                                showCaption: true,
                                id: 'name',
                              },
                              {
                                dataType: 29,
                                enableCond: 3,
                                labelPos: 'LEFT',
                                labelWidth: 130,
                                noPrivDisplayMode: 1,
                                appDEFieldId: 'num',
                                editor: {
                                  editorType: 'TEXTBOX',
                                  valueType: 'SIMPLE',
                                  editable: true,
                                  id: 'num',
                                },
                                allowEmpty: true,
                                caption: '数量',
                                codeName: 'num',
                                detailStyle: 'DEFAULT',
                                detailType: 'FORMITEM',
                                layoutPos: {
                                  colLG: 12,
                                  colMD: 12,
                                  layout: 'TABLE_24COL',
                                },
                                showCaption: true,
                                id: 'num',
                              },
                              {
                                dataType: 25,
                                enableCond: 3,
                                labelPos: 'LEFT',
                                labelWidth: 130,
                                noPrivDisplayMode: 1,
                                appDEFieldId: 'unit',
                                editor: {
                                  maxLength: 100,
                                  editorType: 'TEXTBOX',
                                  valueType: 'SIMPLE',
                                  editable: true,
                                  id: 'unit',
                                },
                                allowEmpty: true,
                                caption: '单位',
                                codeName: 'unit',
                                detailStyle: 'DEFAULT',
                                detailType: 'FORMITEM',
                                layoutPos: {
                                  colLG: 12,
                                  colMD: 12,
                                  layout: 'TABLE_24COL',
                                },
                                showCaption: true,
                                id: 'unit',
                              },
                            ],
                            caption: '嵌入表单',
                            codeName: 'grouppanel1',
                            detailStyle: 'STYLE2',
                            detailType: 'GROUPPANEL',
                            layoutPos: {
                              colMD: 24,
                              layout: 'TABLE_24COL',
                            },
                            id: 'grouppanel1',
                          },
                          {
                            actionType: 'UIACTION',
                            buttonStyle: 'DEFAULT',
                            uiactionId: 'save_message@detail',
                            tooltip: '保存',
                            uiactionTarget: 'NONE',
                            caption: '保存',
                            codeName: 'button1',
                            detailStyle: 'DEFAULT',
                            detailType: 'BUTTON',
                            layoutPos: {
                              colMD: 24,
                              layout: 'TABLE_24COL',
                            },
                            showCaption: true,
                            id: 'button1',
                          },
                        ],
                        caption: '明细数据基本信息',
                        codeName: 'group1',
                        detailStyle: 'DEFAULT',
                        detailType: 'GROUPPANEL',
                        layoutPos: {
                          colMD: 24,
                          layout: 'TABLE_24COL',
                        },
                        id: 'group1',
                      },
                      {
                        dataType: 25,
                        enableCond: 3,
                        labelPos: 'LEFT',
                        labelWidth: 130,
                        noPrivDisplayMode: 1,
                        appDEFieldId: 'id',
                        editor: {
                          editorType: 'HIDDEN',
                          valueType: 'SIMPLE',
                          editable: true,
                          id: 'id',
                        },
                        allowEmpty: true,
                        hidden: true,
                        capLanguageRes: {
                          lanResTag: 'DEF.LNAME.DETAIL.ID',
                        },
                        caption: '标识',
                        codeName: 'id',
                        detailStyle: 'DEFAULT',
                        detailType: 'FORMITEM',
                        layoutPos: {
                          colMD: 24,
                          layout: 'TABLE_24COL',
                        },
                        id: 'id',
                      },
                    ],
                    caption: '基本信息',
                    codeName: 'formpage1',
                    detailStyle: 'DEFAULT',
                    detailType: 'FORMPAGE',
                    id: 'formpage1',
                  },
                ],
                layout: {
                  columnCount: 24,
                  layout: 'TABLE_24COL',
                },
                tabHeaderPos: 'TOP',
                noTabHeader: true,
                autoLoad: true,
                showBusyIndicator: true,
                codeName: 'edit_view9_form',
                controlType: 'FORM',
                logicName: '编辑视图（部件视图）_表单',
                appDataEntityId: 'web.detail',
                controlParam: {},
                modelId: 'c13b602e46efd8a02db1c38c0bb0d870',
                modelType: 'PSDEFORM_EDITFORM',
                name: 'mdctrl1_form',
                id: 'web.detail.edit_view9_form',
              },
              contentType: 'FORM',
              appDEFieldId: 'details',
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              codeName: 'mdctrl1',
              detailStyle: 'DEFAULT',
              detailType: 'MDCTRL',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              showCaption: true,
              id: 'mdctrl1',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              appDEFieldId: 'id',
              editor: {
                editorType: 'HIDDEN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'id',
              },
              allowEmpty: true,
              hidden: true,
              capLanguageRes: {
                lanResTag: 'DEF.LNAME.MASTER.ID',
              },
              caption: '标识',
              codeName: 'id',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                colMD: 24,
                layout: 'TABLE_24COL',
              },
              id: 'id',
            },
          ],
          caption: '基本信息',
          codeName: 'formpage1',
          detailStyle: 'DEFAULT',
          detailType: 'FORMPAGE',
          id: 'formpage1',
        },
      ],
      layout: {
        columnCount: 24,
        layout: 'TABLE_24COL',
      },
      tabHeaderPos: 'TOP',
      noTabHeader: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'editform_mdctrl_form',
      controlType: 'FORM',
      logicName: '编辑表单_多数据部件_表单',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'form',
      },
      modelId: 'abb143995ff2b450de0c281b47eb5871',
      modelType: 'PSDEFORM_EDITFORM',
      name: 'form',
      id: 'web.master.editform_mdctrl_form',
    },
    {
      codeName: 'editform_mdctrl_form_datainfobar',
      controlType: 'DATAINFOBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'datainfobar',
      },
      name: 'datainfobar',
      id: 'editform_mdctrl_form_datainfobar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '编辑表单_多数据部件-表单',
      codeName: 'editform_mdctrl_form_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'editform_mdctrl_form_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEEDITVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '编辑表单_多数据部件-表单',
  viewStyle: 'DEFAULT',
  viewType: 'DEEDITVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '7e12930559c00210ee38b53c7f5bee8f',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTEReditform_mdctrl_form',
  id: 'web.master_editform_mdctrl_form',
};
